﻿<%@ Page Language="c#" CodeBehind="NewStaff.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Department.NewStaffPage" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head runat="server">
  <title>NewStaff</title>
  <uds:Style runat="server" Href="~/css/BasicLayout.css" />
  <style>
    .td { font-size: 14px; color: #0000ff; }
  </style>
</head>
<body>
  <form method="post" runat="server">
    <ajax:ToolkitScriptManager runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true" />
    <uds:PageTitle runat="server" HintImage="~/DataImages/ClientManage.gif" Title="员工注册" />
    <table id="AutoNumber1" cellspacing="0" cellpadding="0" width="100%" border="1" runat="server" class="gbtext" style="border-collapse: collapse" bordercolor="#93bee2">
      <tr bgcolor="#e8f4ff">
        <td align="right" width="20%" height="34" style="height: 34px">用户姓名:</td>
        <td height="34" style="height: 34px">&nbsp;<asp:TextBox ID="txtStaffName" Width="382" Columns="70" runat="server" CssClass="InputCss" /><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Font-Size="X-Small" ControlToValidate="txtStaffName" ErrorMessage="请输入姓名" /></td>
      </tr>
      <tr>
        <td align="right" width="20%" height="30">真实姓名:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtRealName" Width="382" Columns="70" runat="server" CssClass="InputCss" /><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Font-Size="X-Small" ControlToValidate="txtRealName" ErrorMessage="请输入真实姓名" /></td>
      </tr>
      <tr bgcolor="#e8f4ff">
        <td align="right" width="20%" height="30">性别:</td>
        <td height="30">&nbsp;<asp:RadioButton ID="rb_male" runat="server" Text="男" Checked="True" GroupName="rSex" /><asp:RadioButton ID="rb_female" runat="server" Text="女" Checked="False" GroupName="rSex" /></td>
      </tr>
      <tr>
        <td align="right" width="20%" height="30">出生日期:</td>
        <td height="30">&nbsp;<uds:DateTextBox ID="txtBirthday" Width="383" Columns="70" runat="server" CssClass="InputCss" ReadOnly="True" /></td>
      </tr>
      <tr bgcolor="#e8f4ff">
        <td align="right" width="20%" height="30">密码:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtPassword" runat="server" Width="383px" CssClass="InputCss" TextMode="Password" /><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" Font-Size="X-Small" ControlToValidate="txtPassword" ErrorMessage="密码不能为空" /></td>
      </tr>
      <tr>
        <td align="right" width="20%" height="30">重复密码:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtRePassword" runat="server" Width="382px" CssClass="InputCss" TextMode="Password" /><asp:CompareValidator ID="CompareValidator1" runat="server" Font-Size="X-Small" ControlToValidate="txtRePassword" ErrorMessage="密码确认错误" ControlToCompare="txtPassword" /></td>
      </tr>
      <tr bgcolor="#e8f4ff">
        <td align="right" width="20%" height="30">电子邮件:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtEmail" Width="382" Columns="70" runat="server" CssClass="InputCss" /><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Font-Size="X-Small" ControlToValidate="txtEmail" ErrorMessage="请填写电子邮件地址" Display="Dynamic" /><asp:RegularExpressionValidator ID="checkmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="错误的EMAIL格式" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic" /></td>
      </tr>
      <tr>
        <td align="right" width="20%" height="30">公司电话:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtPhone" Width="382" Columns="70" runat="server" CssClass="InputCss" /><asp:RegularExpressionValidator ID="checkphone" runat="server" Font-Size="X-Small" ControlToValidate="txtPhone" ErrorMessage="电话号码错误" ValidationExpression="\d*" /></td>
      </tr>
      <tr bgcolor="#e8f4ff">
        <td align="right" width="20%" height="30">移动电话:</td>
        <td height="30">&nbsp;<asp:TextBox ID="txtMobile" Width="382" Columns="70" runat="server" CssClass="InputCss" /><asp:RegularExpressionValidator ID="checkmobile" runat="server" Font-Size="X-Small" ControlToValidate="txtMobile" ErrorMessage="手机号错误" ValidationExpression="\d*" /></td>
      </tr>
      <tr id="mydepartment" runat="server">
        <td align="right" width="20%" height="30">所属部门:</td>
        <td height="30">
          <asp:DropDownList ID="cboDepartment" runat="server" Width="383px" />
        </td>
      </tr>
      <tr>
        <td align="middle" colspan="2" height="35">
          <div>
            <asp:Literal ID="message" runat="server" EnableViewState="False" />
          </div>
          <div>
            <asp:Button ID="cmdSubmit" runat="server" Width="60px" CssClass="redButtonCss" Text="确定" Height="20px" />&nbsp;&nbsp;&nbsp;&nbsp; <input class="redButtonCss" style="width: 60px; height: 20px" onclick="history.back()" type="button" value="返 回" name="cmdReturn">
          </div>
        </td>
      </tr>
    </table>
  </form>
</body>
</html>
